export default {
    namespaced: true,
    state: {
        loadingNum: 0,
    },
    mutations: {
        change_loadingNum_add(state, value) {
            state.loadingNum++;
        },
        change_loadingNum_reduce(state, value) {
            state.loadingNum--;
        },
        change_loadingNum_Reset(state, value) {
            state.loadingNum = 0;
        },
    },
    actions: {
        loadingNum_add_action({ commit }) {
            commit('change_loadingNum_add');
        },
        loadingNum_reduce_action({ commit }) {
            commit('change_loadingNum_reduce');
        },
        loadingNum_Reset_action({ commit }) {
            commit('change_loadingNum_Reset');
        },
    }
}
